package com.lovo.dept.service.impl;

import com.lovo.common.model.DeptBean;
import com.lovo.dept.dao.DeptDaoImpl;
import com.lovo.dept.dao.IDeptDao;
import com.lovo.dept.service.IDeptService;

import java.util.List;

/**
 * 部门管理的Service实现类
 * @author 白德柯
 *
 */
public class DeptServiceImpl implements IDeptService {
    private IDeptDao deptDao = new DeptDaoImpl();
    @Override
    public List<DeptBean> findAll() {
        return deptDao.findAll();
    }
}
